package tyk.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import tyk.pojo.User;

/*
* 用户相关Mapper
* */
@Mapper
public interface UserMapper {


    /*
     * 根据用户名获得用户
     * */
    @Select("select * from t_user where username = #{username}")
    User getUserByName(String username);
}
